package com.lgj.core;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: guangjie.liao
 * @Date: 2023/06/14 23:50
 * @Description:
 */
@Data
@Component
public class Oauth2Properties {
    //服务之间调用默认客户端
    @Value("${oauth.feign.username}")
    private String username;
    @Value("${oauth.feign.password}")
    private String password;
    @Value("${oauth.feign.clientId}")
    private String clientId;
    @Value("${oauth.feign.ClientSecret}")
    private String ClientSecret;
    @Value("${oauth.feign.accessTokenUri}")
    private String accessTokenUri;
    @Value("${oauth.feign.scope}")
    private String scope;

    //jwt token配置
    @Value("${oauth.jwt.signKey}")
    private String signKey;
    @Value("${oauth.statue}")
    private String statue;
    @Value("${oauth.storeType}")
    private String storeType;

}
